<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns="http://www.w3.org/1999/html">
<head>
    <meta charset="UTF-8">
    <title>添加员工信息页面</title>
    <link th:href="@{/css/bootstrap.min.css}" rel="stylesheet">
    <style>
        .bd-placeholder-img {
            font-size: 1.125rem;
            text-anchor: middle;
            -webkit-user-select: none;
            -moz-user-select: none;
            user-select: none;
        }

        @media (min-width: 768px) {
            .bd-placeholder-img-lg {
                font-size: 3.5rem;
            }
        }
    </style>

    <link th:href="@{/css/dashboard.css}" rel="stylesheet">
</head>
<body>
<div th:insert="~{frontpage::headtop}"></div>

<div class="container-fluid">
    <div class="row">
        <div th:insert="~{frontpage::textmenu}"></div>

        <main class="col-md-9 ms-sm-auto col-lg-10 px-md-4">
            <h2>员工信息</h2>

            <div class="table-responsive">
                <table class="table table-striped table-sm">

            <form th:action="@{/employee/save}" method="post"  enctype="multipart/form-data" >
                <div id="lists">
                    <div id="childlists">

                        <label for="fname">账号</label>
                        <input type="text" id="fname" name="name">
                        <br>
                        <label for="photo">头像</label>
                        <input type="file" width="" id="photo" name="img">
                        <label for="fsalary">工资</label>
                        <input type="text" id="fsalary" name="salary">
                        <div class="form-group">
                            <label class="chosedepart">选择部门</label>
                            <div class="chosetext">
                                <label>
                                <select  name="deid" >
                                    <option value="">所属部门</option>
                                    <option  value="1">人事部</option>
                                    <option  value="2">市场部</option>
                                    <option  value="3">运营部</option>
                                    <option  value="4">111</option>
                                    <option  value="5">222</option>
                                </select>
                                </label>
                            </div>
                        </div>
                        <label for="birth">生日</label>
                        <input type="text" id="birth" name="birthday" placeholder="填写格式：xxxx/xx/xx">
                        <tr>
                            <laber for="sex" >
                                性别:
                            </laber>
                                男
                                <input type="radio" class="inputgri" name="gender" value="1" checked="checked"/>
                                女
                                <input type="radio" class="inputgri" name="gender" value="0"/>
                        </tr>
                        <br>
                        <label for="telephone">电话</label>
                        <input type="text" id="telephone" name="telephone">
                        <label for="email">邮件地址</label>
                        <input type="text" id="email" name="epemail">
                </div>
                <p>
                    <input type="submit" class="button" value="确认添加 &raquo;" />

                </p>
                </div>
                       </form>
                    </table>
               </div>
        </main>
        </div>
    </div>
</body>
</html>
